package com.wzdigit.wms.basic.client.request.transfer;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.wzdigit.wms.basic.client.Pager;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.poi.ss.formula.functions.T;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName GdnCtnrRequest
 * @Description 发货装运查询请求类
 * @Author LHR-PC
 * @Date 2021/3/4 14:38
 * @Version
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
//@Accessors(chain = true) 这个开了用问题，作为前端qi请求 接收的类不 能打开这个功能
@JsonIgnoreProperties(value = { "hirnateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = false)
public class GdnCtnrRequest extends Pager<T> implements Serializable {
    private static final long serialVersionUID = 4272594188616388439L;


    //3)	高级查询筛选发货装运任务：参考柜号、送货单号、客户、状态、发货日期

    /**
     * 参考柜号
     */
    @ApiModelProperty(value = "参考柜号")
    private String refCntrNo;

    /**
     * 发货单单号
     */
    @ApiModelProperty(value = "发货单单号精确查询")
    private String gdnNo;


    /**
     * 客户ID
     */
    @ApiModelProperty(value = "客户ID")
    private Integer customer;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**
     * 发货日期
     */
    @ApiModelProperty(value = "发货日期")
    private Long shipDateLong;

    /**
     * 发货日期
     */
    @ApiModelProperty(value = "发货日期",hidden = true)
    private Date shipDate;

    /**
     * 发货单单号
     */
    @ApiModelProperty(value = "发货单单号模糊查询")
    private String filter;

    /**
     * 标记位，0是主页用，查询4567状态，1是发货装运页面用，查询所有状态
     */
    private Integer Flag;

    /**
     * GDN_TYPE
     */
    @ApiModelProperty(value = "GDN_TYPE",hidden = true)
    private String gdnType;
}
